package com.sxdx.mapper;

import com.sxdx.entity.LoginUser;
import com.sxdx.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xj
 * @since 2023-12-22
 */
public interface MenuMapper extends BaseMapper<Menu> {
    List getMenuTree(LoginUser loginUser);

    List<Menu> findAllMenu(String userId);
}
